package cn.hloger.spider.demo.chatgptDemo.bean.req; /**
 * TODO
 *
 * @Description TODO
 * @author huanglong
 * @data 2024/7/9
 */

import lombok.Data;

import java.util.List;

/**
 * @author long
 * @version 1.0
 * @description: TODO
 * @date 2024/7/9 15:12
 */
@Data
public class ChatResp {
    private String role;
    private String id;
    private String parentMessageId;
    private String text;
    private Detail detail;


    // Getters and Setters
    @Data
    public static class Detail {
        private List<Choice> choices;
        private long created;
        private String id;
        private String model;
        private String object;
        private String systemFingerprint;


        // Getters and Setters
        @Data
        public static class Choice {
            private Delta delta;
            private String finishReason;
            private int index;


            // Getters and Setters
            @Data
            public static class Delta {
                private String role;

            }
        }
    }

}
